package createType.prototype.example.resume;

public class WorkExperience implements Cloneable{
	private String companyName;
	private String date;
	
	public WorkExperience(String cName, String date){
		this.companyName = cName;
		this.date = date;
	}
	
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	
	public WorkExperience Clone(){
		try {
			return (WorkExperience)super.clone();
		} catch (CloneNotSupportedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return null;
	}
	
}
